module(
    name = "bazel-diff",
    version = "10.1.0",
    compatibility_level = 0,
)

bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "aspect_rules_lint", version = "1.0.2")
bazel_dep(name = "bazel_skylib", version = "1.6.1")
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "rules_java", version = "8.11.0")
bazel_dep(name = "rules_kotlin", version = "2.1.3")
bazel_dep(name = "rules_jvm_external", version = "6.7")

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
    name = "bazel_diff_maven",
    artifacts = [
        "com.google.code.gson:gson:jar:2.9.0",
        "com.google.guava:guava:31.1-jre",
        "com.willowtreeapps.assertk:assertk-jvm:0.25",
        "info.picocli:picocli:jar:4.6.3",
        "io.insert-koin:koin-core-jvm:3.1.6",
        "io.insert-koin:koin-test-junit4:4.0.0",
        "junit:junit:5.11.2",
        "org.apache.commons:commons-pool2:2.11.1",
        "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2",
        "org.mockito.kotlin:mockito-kotlin:5.4.0",
    ],
    lock_file = "//:maven_install.json",
)
use_repo(
    maven,
    bazel_diff_maven = "bazel_diff_maven",
)

non_module_repositories = use_extension("//:extensions.bzl", "non_module_repositories")
use_repo(non_module_repositories, "ktfmt")
